#ifndef SHOP_H_
#define SHOP_H_
#include "dish.h"
class Shop
{
  private:
    Dish *dishes;
    int capacity;
    int length;
  public:
    Shop(int capacity);
    void append(const Dish &dish);
    float sumOfBusiness();// 总营业额
    float largestProfit();// 利润最多
    int largestSales();// 销量最多
    void sort();
    void range(bool (*f)(int cursor, Dish &value));
    void display();
};
#endif